package com.ruoyi.tjbb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轨迹里程记录对象 sys_tjbb_gjlcjl
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
public class SysTjbbGjlcjl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carId;

    /** 起点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起点时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 起点位置 */
    @Excel(name = "起点位置")
    private String startLocation;

    /** 终点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "终点时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 终点位置 */
    @Excel(name = "终点位置")
    private String endLocation;

    /** 总里程 */
    @Excel(name = "总里程")
    private String totalMileage;

    /** 里程调整百分比 */
    @Excel(name = "里程调整百分比")
    private String mileagePercentage;

    /** 百公里消耗 */
    @Excel(name = "百公里消耗")
    private String consumer;

    /** 行驶油耗 */
    @Excel(name = "行驶油耗")
    private String drivingFuelConsumption;

    /** 保存记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保存记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordTime;

    /** 操作 */
    @Excel(name = "操作")
    private String operate;

    /** ID */
    private Long id;

    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setStartLocation(String startLocation) 
    {
        this.startLocation = startLocation;
    }

    public String getStartLocation() 
    {
        return startLocation;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setEndLocation(String endLocation) 
    {
        this.endLocation = endLocation;
    }

    public String getEndLocation() 
    {
        return endLocation;
    }
    public void setTotalMileage(String totalMileage) 
    {
        this.totalMileage = totalMileage;
    }

    public String getTotalMileage() 
    {
        return totalMileage;
    }
    public void setMileagePercentage(String mileagePercentage) 
    {
        this.mileagePercentage = mileagePercentage;
    }

    public String getMileagePercentage() 
    {
        return mileagePercentage;
    }
    public void setConsumer(String consumer) 
    {
        this.consumer = consumer;
    }

    public String getConsumer() 
    {
        return consumer;
    }
    public void setDrivingFuelConsumption(String drivingFuelConsumption) 
    {
        this.drivingFuelConsumption = drivingFuelConsumption;
    }

    public String getDrivingFuelConsumption() 
    {
        return drivingFuelConsumption;
    }
    public void setRecordTime(Date recordTime) 
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime() 
    {
        return recordTime;
    }
    public void setOperate(String operate) 
    {
        this.operate = operate;
    }

    public String getOperate() 
    {
        return operate;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("startTime", getStartTime())
            .append("startLocation", getStartLocation())
            .append("endTime", getEndTime())
            .append("endLocation", getEndLocation())
            .append("totalMileage", getTotalMileage())
            .append("mileagePercentage", getMileagePercentage())
            .append("consumer", getConsumer())
            .append("drivingFuelConsumption", getDrivingFuelConsumption())
            .append("recordTime", getRecordTime())
            .append("operate", getOperate())
            .append("id", getId())
            .toString();
    }
}
